package com.syni.mdd.sjb.common.component.mybatis.dxshapp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 首页统计面板的相关值
 * </p>
 *
 * @author lcc
 * @since 2020-09-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class DankHomePageStatistics implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 统一商户id
     */
//    private String merchantsAccountId;

    private Integer userId;



    /**
     * 进行中活动数
     */
    private Integer marketKbActivitiesNum;

    /**
     * 总参与人数
     */
    private Integer marketKbTotalParticipants;

    /**
     * 参与转化率
     */
    private String marketPartConversionRate;

    /**
     * 拉新人数
     */
    private Integer marketKbArrivalsNum;

    /**
     * 潜在营收
     */
    private Integer marketKbPotentialRevenue;

    /**
     * 新增营收
     */
    private Integer marketKbNewRevenue;

    /**
     * ROI
     */
    @TableField("market_kb_ROI")
    private String marketKbRoi;

    /**
     * 截止时间
     */
    private LocalDateTime marketKbDeadline = LocalDateTime.now();

    /**
     * 新增潜客数
     */
    private Integer customerKbNewPotentialCustomers;

    /**
     * 潜在营收(新增潜客数)
     */
    private Integer customerKbPcPotentialRevenue;

    /**
     * 新增客户数
     */
    private Integer customerKbNewCustomersNum;

    /**
     * 实际营收
     */
    private Integer customerKbActualRevenue;

    /**
     * 新增会员数
     */
    private Integer customerKbNewMembersNum;

    /**
     * 潜在营收
     */
    private Integer customerKbMPotentialRevenue;

    /**
     * 复购客户数
     */
    private Integer customerKbRepurchaseCustomersNum;

    /**
     * 实际营收(复购客户数)
     */
    private Integer customerKbRcActualRevenue;

    /**
     * 截止目前处理时间
     */
    private LocalDateTime customerKbDeadline = LocalDateTime.now();

    /**
     * 待处理订单数
     */
    private Integer businessKbOrdersProcessedNum;

    /**
     * 新增营收
     */
    private Integer businessKbNewRevenue;

    /**
     * 总营收
     */
    private Integer businessKbTotalRevenue;

    /**
     * 新增订单数
     */
    private Integer businessKbNewOrdersNum;

    /**
     * 总订单数
     */
    private Integer businessKbTotalOrder;

    /**
     * 新增浏览量
     */
    private Integer businessKbNewVisitNum;

    /**
     * 转化率
     */
    private String businessKbConversionRate;

    /**
     * 经营看板统计截止时间
     */
    private LocalDateTime businessKbDeadline = LocalDateTime.now();


    public static final String ID = "id";

    public static final String MERCHANTS_ACCOUNT_ID = "merchants_account_id";

    public static final String MARKET_KB_ACTIVITIES_NUM = "market_kb_activities_num";

    public static final String MARKET_KB_TOTAL_PARTICIPANTS = "market_kb_total_participants";

    public static final String MARKET_KB_VISITOR_SESSIONS = "market_kb_visitor_sessions";

    public static final String MARKET_KB_ARRIVALS_NUM = "market_kb_arrivals_num";

    public static final String MARKET_KB_POTENTIAL_REVENUE = "market_kb_potential_revenue";

    public static final String MARKET_KB_NEW_REVENUE = "market_kb_new_revenue";

    public static final String MARKET_KB_ROI = "market_kb_ROI";

    public static final String MARKET_KB_DEADLINE = "market_kb_deadline";

    public static final String CUSTOMER_KB_NEW_POTENTIAL_CUSTOMERS = "customer_kb_new_potential_customers";

    public static final String CUSTOMER_KB_PC_POTENTIAL_REVENUE = "customer_kb_pc_potential_revenue";

    public static final String CUSTOMER_KB_NEW_CUSTOMERS_NUM = "customer_kb_new_customers_num";

    public static final String CUSTOMER_KB_ACTUAL_REVENUE = "customer_kb_actual_revenue";

    public static final String CUSTOMER_KB_NEW_MEMBERS_NUM = "customer_kb_new_members_num";

    public static final String CUSTOMER_KB_M_POTENTIAL_REVENUE = "customer_kb_m_potential_revenue";

    public static final String CUSTOMER_KB_REPURCHASE_CUSTOMERS_NUM = "customer_kb_repurchase_customers_num";

    public static final String CUSTOMER_KB_RC_ACTUAL_REVENUE = "customer_kb_rc_actual_revenue";

    public static final String CUSTOMER_KB_DEADLINE = "customer_kb_deadline";

    public static final String BUSINESS_KB_ORDERS_PROCESSED_NUM = "business_kb_orders_processed_num";

    public static final String BUSINESS_KB_NEW_REVENUE = "business_kb_new_revenue";

    public static final String BUSINESS_KB_TOTAL_REVENUE = "business_kb_total_revenue";

    public static final String BUSINESS_KB_NEW_ORDERS_NUM = "business_kb_new_orders_num";

    public static final String BUSINESS_KB_TOTAL_ORDER = "business_kb_total_order";

    public static final String BUSINESS_KB_NEW_VISIT_NUM = "business_kb_new_visit_num";

    public static final String BUSINESS_KB_CONVERSION_RATE = "business_kb_conversion_rate";

    public static final String BUSINESS_KB_DEADLINE = "business_kb_deadline";

    public static final String USER_ID = "user_id";

}
